package com.yw.android.common.base;

import com.yw.android.common.utils.LOG;

import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;


public class BaseObserver<T> implements Observer<T> {

    @Override
    public void onSubscribe(Disposable d) {
        LOG.d("onSubscribe ," + d);
    }

    @Override
    public void onNext(T o) {
        LOG.d("onNext ," + o);
    }

    @Override
    public void onError(Throwable e) {
        LOG.e("onError", e);
    }

    @Override
    public void onComplete() {
        LOG.d("onComplete");
    }
}
